package com.tx.websocket.demo.model;

import java.io.Serializable;
import java.util.Date;

public class Department implements Serializable {

    /**
     * 主键id
     * 数据库类型：bigint(20)
     */
    private Long id;

    /**
     * 部门名
     * 数据库类型：varchar(255)
     */
    private String departmentName;

    /**
     * 上级部门id
     * 数据库类型：bigint(20)
     */
    private Long parentId;

    /**
     * 描述
     * 数据库类型：varchar(512)
     */
    private String remark;

    /**
     * 创建时间
     * 数据库类型：datetime
     */
    private Date createTime;

    /**
     * 最近更新时间
     * 数据库类型：datetime
     */
    private Date updateTime;


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

}
